package com.lcy.struct.bTreePlus.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lcy.struct.bTreePlus.disk.core.BPlusTree;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author lucongyang
 * @date Created in  15:28
 * @description
 */
@Setter
@Getter
@ToString
public class BplusTreeTransactionInfo {
    /**
     * 数据
     */
    @JsonIgnore
    private Map<Long, BPlusTree> needSerializeMap;
    /**
     * 总数
     */
    private Integer count;
    /**
     * 根节点地址
     */
    private Long rootPosition;
    /**
     * 文件末尾指针位置
     */
    private Long endPosition;
}
